﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AdvanceAds.aspx.cs" Inherits="CNVP.JShop.Web.Member.AdvanceAds" %>
<%@ Register src="Footer.ascx" tagname="Footer" tagprefix="uc1" %>
<%@ Register src="Header.ascx" tagname="Header" tagprefix="uc1" %>
<%@ Register src="LeftNav.ascx" tagname="LeftNav" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title><%=CNVP.Config.UIConfig.SiteName%></title>
    <!--#include file="../Admin/include/basejs.aspx"-->
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <meta content="IE=7" http-equiv="X-UA-Compatible" />
    <link href="../Admin/CSS/Global.css" rel="stylesheet" type="text/css" />
    <link href="../Admin/CSS/List.css" rel="stylesheet" type="text/css" />
    <link href="../Admin/CSS/Edit.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
     html{ width:100%; height:100%;background-image:url(../Admin/Images/MainBg.png); background-repeat:repeat-x; background-position:center 0; }
.MenuItem {
    margin-top: 10px;
    padding: 0 10px;
}
.TitleWord {
    background-image: url("../Admin/Images/Dot03.png");
    background-position: 8px center;
    background-repeat: no-repeat;
    padding-left: 2em;
}
     </style>
</head>
<body onload="ActiveCoolTable()">
    <form id="form1" runat="server">
    <table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">
        <tbody>
        <tr>
            <td height="110" style="background-image:url(../Admin/Images/MainBg.png); background-repeat:repeat-x; background-position:center 0px;" colspan="2">
                <uc1:Header ID="Header1" runat="server" />
             </td>
           </tr>
        <tr>
            <td width="200" valign="top" style="border-right:solid 1px #9db3c5; background-image:url(../Admin/Images/MainBg.png); background-repeat:repeat-x; background-position:center 0; ">
                <uc1:LeftNav ID="LeftNav1" runat="server" />
            </td>
            <td>
                <div class="Content" style="background-color:White; padding:10px;">
                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="cell_group">
                            <img src="../Admin/Images/ListIconTitle.jpg" alt="" />&nbsp;您的位置：<a href="AdvanceAds.aspx">广告列表</a>
                        </td>
                    </tr>
                  <tr>
                    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><table border="0" cellspacing="0" cellpadding="0" class="Option">
                  <tr>
                    <td><img src="../Admin/Images/Dot05.png" />&nbsp;<a href="AdEdit.aspx">添加</a></td>
                    <td><img src="../Admin/Images/Dot08.png" /> 
                        <asp:LinkButton ID="btDelete" runat="server" onclick="btDelete_Click">删除</asp:LinkButton></td>
                  </tr>
                </table>
                </td>
                    <td>&nbsp;</td>
                  </tr>
                </table>
                </td>
                  </tr>
                  <tr>
                    <td>
                       <table width="100%" border="0" cellspacing="0" cellpadding="0" class="ListTable">
                            <asp:Repeater ID="rpList" runat="server">
                                    <HeaderTemplate>
                                         <thead>
                                            <tr>
                                            <th  class="CheckBox"><input onclick="checkAllLine()" id="checkedAll" name="checkedAll" type="checkbox" title="全部选择/全部不选" /></th>
                                            <th>展示状态</th>
                                            <th>服务器名称【<span style="color:Red; font-size:12px; font-weight:normal;">点击服务器名称进行修改</span>】</th>
                                            <th>登陆器名称</th>
                                            <th>开区时间</th>
                                            <th>版本介绍</th>
                                            <th>主页地址</th>
                                            <th>发布时间</th>
                                           </tr>
                                        </thead>
                                         <tbody>
                                    </HeaderTemplate>
                                    <ItemTemplate>
                                        <tr>
                                            <td  class="CheckBox">
                                                 <asp:CheckBox id="cbCheck" runat="server" ToolTip='<%#Eval("oID")%>'></asp:CheckBox>
                                            </td>
                                            <td><%#Eval("oDisplay")%></td>
                                            <td><a href="AdEdit.aspx?ID=<%#Eval("oID")%>" title="<%# Eval("oServerName") %>"><%#Eval("oServerName") %></a></td>
                                            <td><%#Eval("oLoginTitle")%></td>
                                            <td><%#Eval("oOpenTime")%></td>
                                            <td><%#Eval("oEdition")%></td>
                                            <td><%#Eval("oIndexUrl")%></td>
                                            <td><%#Eval("oPostTime")%></td>
                                        </tr>
                                    </ItemTemplate>
                                    <FooterTemplate>
                                 <asp:Literal ID="lblEmpty" Text="<tr><td colspan='7'>没有符合条件的条目!</td></tr>" runat="server" Visible='<%#bool.Parse((rpList.Items.Count==0).ToString())%>'></asp:Literal>
                                    </tbody>
                                    </FooterTemplate>
                            </asp:Repeater>
                        <tfoot>
                        <tr><td colspan="8"><div id="paging" runat="server"></div></td></tr>
                        </tfoot>
                    </table>

                    </td>
                  </tr>
                </table>
                </div>
            </td>
          </tr>
        <tr>
            <td height="25" style="border-top:solid 1px #9db3c5;  background-image:url(../Admin/Images/MainBg.png); background-repeat:repeat-x; background-position:center 0;" colspan="2">
                <uc1:Footer ID="Footer1" runat="server" />
            </td>
        </tr>
       </tbody>
        </table>
    </form>
</body>
</html>
